-
Notifications
You must be signed in to change notification settings - Fork 6
Ajout d'un invariant INS pour envoyer un warning quand on a un code COG 99999 dans le cadre d'une identité validée #262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
ypoiron
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sur fr-core-3, attention au cas où birthPlace/l’extension INSEE n’existe pas : ...value.code != '99999' peut évaluer à empty et déclencher un warning à tort. On pourrait p-e utiliser une expression du type A implies (code.empty() or code != '99999') pour ne warning que lorsque le code est présent ET vaut 99999
|
Hello @ypoiron, j'ai un petit doute : quand l'INS est validée : il y a de manière obligatoire un code cog de naissance non ? Le cas échéant, il ne faudrait pas plutôt remplacer la condition à gauche ? Si identityStatus = VALI, alors code != 9999 |
@nriss Oui je suis d'accord |
|
Modification appliquée @ypoiron |
Description des changements | Description of changes made
Ajout de l'invariant suite au GT préadmission
Tests effectués :
Preview
https://interop-sante.github.io/hl7.fhir.fr.core/nr-add-ins-invariant/ig